package com.qianfeng.openplatform.webmaster;

import com.qianfeng.openplatform.webmaster.rabbit.AdvierRoutingChange;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author 江江
 * @Date 2020/7/22 13:36
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableBinding(AdvierRoutingChange.class)//rabbitMQ消息队列
@MapperScan(basePackages = "com.qianfeng.openplatform.webmaster.mapper")
public class WebMasterStartApp {
    public static void main(String[] args) {
        SpringApplication.run(WebMasterStartApp.class,args);
    }
}
